 <template>
    <footer class="footer">
      <div class="icp-info">
        <a :href="beianUrl" target="_blank" rel="noopener noreferrer">
          {{ icpRecord }}
        </a>
      </div>
    </footer>
  </template>
  
  <script>
  export default {
    name: "Footer",
    data() {
      return {
        // 从环境变量或配置中获取备案号
        icpRecord: process.env.VUE_APP_ICP_RECORD || "鲁ICP备2025151438号",
        beianUrl: "https://beian.miit.gov.cn/",
      };
    },
  };
  </script>
  
  <style scoped>
  .footer {
    text-align: center;
    margin-top: auto;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    /* background-color: #f9f9f9; */
  }
  .icp-info a {
    color: #326bd4;
    text-decoration: none;
  }
  .icp-info a:hover {
    text-decoration: underline;
  }
  </style>